;   4,,,,
CreateMeshBuilder,,,,
AddVertex,2.5,2.2,-24.5,
AddVertex,8.2,2.2,-24.5,
AddVertex,8.2,1,-24.5,
AddVertex,2.5,1,-24.5,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,handrail.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,6,0,
SetTextureCoordinates,2,6,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,0,


;   5,,,,
CreateMeshBuilder,,,,
AddVertex,3.5,2.2,10,
AddVertex,3.5,2.2,0,
AddVertex,8.4,2.2,0,
AddVertex,8.4,2.2,10,
AddVertex,8.4,1,10,
AddVertex,8.4,1,0,
AddVertex,3.5,1,0,
AddVertex,3.5,1,10,
AddFace,0,1,6,7
AddFace,1,2,5,6
AddFace2,3,2,5,4
GenerateNormals,,,,
LoadTexture,kugayama_stair.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.33,0,
SetTextureCoordinates,2,0.66,0,
SetTextureCoordinates,3,1,0,
SetTextureCoordinates,4,1,1,
SetTextureCoordinates,5,0.66,1,
SetTextureCoordinates,6,0.33,1,
SetTextureCoordinates,7,0,1,
SetDecalTransparentColor,0,0,0,


;   3,,,,
CreateMeshBuilder,,,,
AddVertex,2.024,5.4687,-25,;0
AddVertex,1.5,5.6785,0,
AddVertex,1.5,5.7309,25,
AddVertex,1.5,5.9309,25,
AddVertex,1.5,5.8785,0,
AddVertex,2.024,5.6687,-25,;5
AddVertex,6.1545,5,25,
AddVertex,5.8925,5,0,
AddVertex,5.3675,5,-25,
AddVertex,10.809,5.9309,25,
AddVertex,10.285,5.8785,0,;10
AddVertex,8.711,5.6687,-25,
AddVertex,10.809,5.7309,25,
AddVertex,10.285,5.6785,0,
AddVertex,8.711,5.4687,-25,;14
AddFace,5,8,7,4
AddFace,4,7,6,3
AddFace,8,11,10,7
AddFace,7,10,9,6
AddFace,3,4,1,2
AddFace,4,5,0,1
AddFace,9,10,13,12
AddFace,10,11,14,13
setcolor,190,190,190,
GenerateNormals,,,,
LoadTexture,roof.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,4,0,
SetTextureCoordinates,2,8,0,
SetTextureCoordinates,3,8,1,
SetTextureCoordinates,4,4,1,
SetTextureCoordinates,5,0,1,
SetTextureCoordinates,6,8,2,
SetTextureCoordinates,7,4,2,
SetTextureCoordinates,8,0,2,
SetTextureCoordinates,9,8,3,
SetTextureCoordinates,10,4,3,
SetTextureCoordinates,11,0,3,
SetTextureCoordinates,12,8,4,
SetTextureCoordinates,13,4,4,
SetTextureCoordinates,14,0,4,


;1-1,,,,
CreateMeshBuilder,,,,
AddVertex,-0.1,5,0.1,
AddVertex,-0.1,5,-0.1,
AddVertex,0.1,5,-0.1,
AddVertex,0.1,1,-0.1,
AddVertex,-0.1,1,-0.1,
AddVertex,-0.1,1,0.1,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_pillar.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,
translate,6.1545,0,25,

CreateMeshBuilder,,,,
AddVertex,-0.1,5,0.1,
AddVertex,-0.1,5,-0.1,
AddVertex,0.1,5,-0.1,
AddVertex,0.1,1,-0.1,
AddVertex,-0.1,1,-0.1,
AddVertex,-0.1,1,0.1,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_pillar.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,
translate,6.0235,0,12.5,

CreateMeshBuilder,,,,
AddVertex,-0.1,5,0.1,
AddVertex,-0.1,5,-0.1,
AddVertex,0.1,5,-0.1,
AddVertex,0.1,1,-0.1,
AddVertex,-0.1,1,-0.1,
AddVertex,-0.1,1,0.1,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_pillar.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,
translate,5.8925,0,0,

CreateMeshBuilder,,,,
AddVertex,-0.1,5,0.1,
AddVertex,-0.1,5,-0.1,
AddVertex,0.1,5,-0.1,
AddVertex,0.1,1,-0.1,
AddVertex,-0.1,1,-0.1,
AddVertex,-0.1,1,0.1,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_pillar.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,
translate,5.625,0,-12.5,

CreateMeshBuilder,,,,
AddVertex,-0.1,5,0.1,
AddVertex,-0.1,5,-0.1,
AddVertex,0.1,5,-0.1,
AddVertex,0.1,1,-0.1,
AddVertex,-0.1,1,-0.1,
AddVertex,-0.1,1,0.1,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_pillar.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,
translate,5.3675,0,-24,

;1-2,,,,
CreateMeshBuilder,,,,
AddVertex,1.5,5.9309,25,
AddVertex,6.1545,5,25,
AddVertex,10.809,5.9309,25,
AddVertex,10.809,5.7309,25,
AddVertex,6.1545,4.7,25,
AddVertex,1.5,5.7309,25,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_beam1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,

CreateMeshBuilder,,,,
AddVertex,1.5,5.9047,12.5,
AddVertex,6.0235,5,12.5,
AddVertex,10.547,5.9047,12.5,
AddVertex,10.547,5.7047,12.5,
AddVertex,6.0235,4.7,12.5,
AddVertex,1.5,5.7047,12.5,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_beam1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,

CreateMeshBuilder,,,,
AddVertex,1.5,5.8785,0,
AddVertex,5.8925,5,0,
AddVertex,10.285,5.8785,0,
AddVertex,10.285,5.6785,0,
AddVertex,5.8925,4.7,0,
AddVertex,1.5,5.6785,0,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_beam1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,

CreateMeshBuilder,,,,
AddVertex,1.762,5.7726,-12.5,
AddVertex,5.625,5,-12.5,
AddVertex,9.488,5.7726,-12.5,
AddVertex,9.488,5.5726,-12.5,
AddVertex,5.625,4.7,-12.5,
AddVertex,1.762,5.5726,-12.5,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_beam1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,

CreateMeshBuilder,,,,
AddVertex,2.024,5.6687,-25,
AddVertex,5.3675,5,-25,
AddVertex,8.711,5.6687,-25,
AddVertex,8.711,5.4687,-25,
AddVertex,5.3675,4.7,-25,
AddVertex,2.024,5.4687,-25,
AddFace,0,1,4,5
AddFace,1,2,3,4
GenerateNormals,,,,
LoadTexture,kuga_beam1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.5,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetTextureCoordinates,4,0.5,1,
SetTextureCoordinates,5,0,1,

;   2,,,,
CreateMeshBuilder,,,,
AddVertex,6.0545,5,25.1,;0
AddVertex,6.0545,4.7,25.1,
AddVertex,6.2545,4.7,25.1,
AddVertex,5.7925,5,0,
AddVertex,5.7925,4.7,0,
AddVertex,5.9925,4.7,0,;5
AddVertex,5.2675,5,-25,
AddVertex,5.2675,4.7,-25,
AddVertex,5.4675,4.7,-25,
AddFace,0,3,4,1
AddFace,4,5,2,1
AddFace,3,6,7,4
AddFace,7,8,5,4
GenerateNormals,,,,
LoadTexture,kuga_beam2.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0,0.5,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,1,0,
SetTextureCoordinates,4,1,0.5,
SetTextureCoordinates,5,1,1,
SetTextureCoordinates,6,2,0,
SetTextureCoordinates,7,2,0.5,
SetTextureCoordinates,8,2,1,

;exit
CreateMeshBuilder,,,,
AddVertex,-1.7,0,0,
AddVertex,0.5,0,0,
AddVertex,0.5,-1.3,0,
AddVertex,-1.7,-1.3,0,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,exit1.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,
SetDecalTransparentColor,0,0,255,
translate,6.6,5.2,10,



